package com.deyu.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

@SuppressWarnings("serial")
public class Activity implements Serializable{
	private Long id;	//活动ID
	private String	name;	//活动名称
	private ActivityType activityType;	//活动类型
	private Date currentTime;	//添加时间
	private Score score;	//活动分数
	private Integer initScore; //初始学分
	private Integer	term;	//学期
	private Set<Student> students = new HashSet<Student>();	//关联用户
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public ActivityType getActivityType() {
		return activityType;
	}
	public void setActivityType(ActivityType activityType) {
		this.activityType = activityType;
	}
	public Date getCurrentTime() {
		return currentTime;
	}
	public void setCurrentTime(Date currentTime) {
		this.currentTime = currentTime;
	}
	
	public Score getScore() {
		return score;
	}
	public void setScore(Score score) {
		this.score = score;
	}
	public Integer getTerm() {
		return term;
	}
	public void setTerm(Integer term) {
		this.term = term;
	}
	public Set<Student> getStudents() {
		return students;
	}
	public void setStudents(Set<Student> students) {
		this.students = students;
	}
	public Integer getInitScore() {
		return initScore;
	}
	public void setInitScore(Integer initScore) {
		this.initScore = initScore;
	}
	
	
}
